projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b0e72
)
* lisp/progmodes/js.el (js-mode): Remove second call to c-init-language-vars
author
Alan Mackenzie
<acm@muc.de>
Sun, 7 Jun 2020 15:14:15 +0000
(15:14 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sun, 7 Jun 2020 15:14:15 +0000
(15:14 +0000)
This spurious second call fouled up already set configuration variables.
Fixes bug #41649.
lisp/progmodes/js.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/js.el
b/lisp/progmodes/js.el
index 5ec3e942753107cb6ccabea24b2b7b270c5019f8..04b449ecd2c0cea06c75cfa9dce1940cb5309154 100644
(file)
--- a/
lisp/progmodes/js.el
+++ b/
lisp/progmodes/js.el
@@
-4591,7
+4591,6
@@
This function is intended for use in `after-change-functions'."
(setq imenu-create-index-function #'js--imenu-create-index)
;; for filling, pretend we're cc-mode
- (c-init-language-vars js-mode)
(setq-local comment-line-break-function #'c-indent-new-comment-line)
(setq-local comment-multi-line t)
(setq-local electric-indent-chars